package com.sky.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 分类
 */
@Data
@ApiModel(description = "分类传递的数据模型")
public class CateDTO {
    @ApiModelProperty("级别")
    private Integer type;
    @ApiModelProperty("主键值")
    private Integer id;
    @ApiModelProperty("一级分类主键值")
    @JsonProperty("fId")
    private Integer fId;
    @ApiModelProperty("二级分类主键值")
    @JsonProperty("sId")
    private Integer sId;
    @ApiModelProperty("分类")
    private String category;
}
